<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head></h:head>
<body>
	<h:form>
		<p:dataTable var="livro" value="#{livroBean.livroList}">
			<p:column headerText="ISBN">
				<h:outputText value="#{livro.isbn}" />
			</p:column>

			<p:column headerText="TITULO">
				<h:outputText value="#{livro.titulo}" />
			</p:column>

			<p:column headerText="AUTOR">
				<h:outputText value="#{livro.autor}" />
			</p:column>

			<p:column headerText="EDITORA">
				<h:outputText value="#{livro.editora}" />
			</p:column>

			<p:column headerText="ANO">
				<h:outputText value="#{livro.ano}" />
			</p:column>

			<p:column headerText="Nº Paginas">
				<h:outputText value="#{livro.numeroDePaginas}" />
			</p:column>

			<p:column headerText="DESCRIÇÃO">
				<p:scrollPanel>
					<h:outputText value="#{livro.descricao}" />
				</p:scrollPanel>

			</p:column>
		</p:dataTable>
	</h:form>
</body>
</html>
